Skip to content

Add Lato as a default font#706

Closed
agriyakhetarpal wants to merge 1 commit intoscientific-python:mainfrom
agriyakhetarpal:lato-as-default-font
Closed

Add Lato as a default font#706
agriyakhetarpal wants to merge 1 commit intoscientific-python:mainfrom
agriyakhetarpal:lato-as-default-font

Conversation

@agriyakhetarpal
Copy link
Copy Markdown
Member

@agriyakhetarpal agriyakhetarpal commented Feb 26, 2026

the fonts: section in the Hugo config is supposed to be for additional fonts that users want to include for whatever reason, but we've been relying on Lato for downstream websites and it makes sense to add it here. Also enables Noto Sans which was disabled for some reason (inadvertently, based on the incorrect comment?).

Closes #705

@netlify
Copy link
Copy Markdown

netlify Bot commented Feb 26, 2026

Deploy Preview for scientific-python-hugo-theme ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit e268097
🔍 Latest deploy log https://app.netlify.com/projects/scientific-python-hugo-theme/deploys/69a03e7b5186e50009b9e0ae
😎 Deploy Preview https://deploy-preview-706--scientific-python-hugo-theme.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 94
Accessibility: 97
Best Practices: 100
SEO: 91
PWA: -
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify project configuration.

@agriyakhetarpal agriyakhetarpal added the type: Enhancement New feature or request label Feb 26, 2026
@agriyakhetarpal
Copy link
Copy Markdown
Member Author

agriyakhetarpal commented Feb 26, 2026

This is a little less bold than the other fallback font we have had, but arguably more correct.

See the difference at https://theme.scientific-python.org/ vs https://deploy-preview-706--scientific-python-hugo-theme.netlify.app/

@agriyakhetarpal agriyakhetarpal marked this pull request as draft February 26, 2026 12:42
@agriyakhetarpal
Copy link
Copy Markdown
Member Author

Checked all websites, seems to work fine!

@agriyakhetarpal agriyakhetarpal marked this pull request as ready for review February 26, 2026 12:44
@agriyakhetarpal agriyakhetarpal added this to the 0.23 milestone Mar 11, 2026
@agriyakhetarpal agriyakhetarpal enabled auto-merge (squash) March 18, 2026 00:04
@stefanv
Copy link
Copy Markdown
Member

stefanv commented Apr 23, 2026

I think only Scientific Python sites need Lato, so not sure it should be the default fallback. But it should be specified as an additional font in all SP websites.

@agriyakhetarpal
Copy link
Copy Markdown
Member Author

Hmm, in that case, we should close this PR and add Lato to all the websites' config. I don't feel very strongly about this PR; I just thought it's a good way to introduce consistency for all websites. Closing, then!

@agriyakhetarpal agriyakhetarpal deleted the lato-as-default-font branch April 24, 2026 00:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: Enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Lato font as a default font

2 participants